package com.etcn.common.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;

public abstract class AbstractConfig {
	
	@Autowired  
	private Environment env;
	
	public String getConfig(String keyName){
		return env.getProperty(keyName);
	}
	
}
